<template>
  <div id="app">
    <manage-layout v-if="!isSingle">
      <router-view/>
    </manage-layout>
    <router-view v-if="isSingle"></router-view>
  </div>
</template>

<script>
import ManageLayout from './layout/ManageLayout'

export default {
  components: { ManageLayout },
  computed: {
    isSingle() {
      return this.$route.meta.single
    }
  }
}
</script>

<style lang="less">
@import url('./assets/css/common.less');
@import url('./assets/css/scrollBar.less');
</style>
